package com.yw.common.core.test;

import com.yw.common.core.db.IDBConnection;
import com.yw.common.core.db.exception.DBException;
import com.yw.common.core.util.DbUtil;

/**
 * DB
 * @author aoshiguchen
 * @time 2015-09-10
 */

public class Db {
	
	public static void main(String[] args) throws DBException {
		IDBConnection connection = DbUtil.getDBConnection();
		
		System.out.println(connection);
		
		System.out.println(connection.prepareStatement("select * from [menu]"));
		
	}
	
}
